﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CSP.Model.CSP
{
    public class Address
    {
        public Address()
        {
            this.Maps = new List<Map>();
            //this.ServiceInfoes = new List<ServiceInfo>();
            this.ServiceInfoAddressRels = new List<ServiceInfoAddressRel>();
        }

        public int Id { get; set; }
        public string UserName { get; set; }
        public string Name { get; set; }
        public int Province { get; set; }
        public Nullable<int> City { get; set; }
        public Nullable<int> County { get; set; }
        public string Street { get; set; }
        public string Telephone { get; set; }
        public string Mobile { get; set; }
        public string Email { get; set; }
        public string Introduction { get; set; }
        public byte[] LastModified { get; set; }
        public string CN_Province { get; set; }
        public string CN_City { get; set; }
        public string CN_County { get; set; }
        public int Status { get; set; }
        public virtual ICollection<Map> Maps { get; set; }
        //public virtual ICollection<ServiceInfo> ServiceInfoes { get; set; }
        public virtual ICollection<ServiceInfoAddressRel> ServiceInfoAddressRels { get; set; }
    }
}
